package com.xiaohang.springstudy.chapter1.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 返回信息
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Response {
    private Boolean success = null;
    private List<Message> messages = new ArrayList<Message>();
    private String debugMessage = null;
    private Object data = null;
    private Paging paging = null;
}
